package cn.cxq.learning.e2_1;

import java.util.Scanner;

public class Client {

    public static void main(String[] args) {

        Scanner scanner = new Scanner(System.in);

        int num = scanner.nextInt();

        for (int i = 0; i < num; i++) {
            System.out.println(String.format("%.14f", SinUtil.sinTNV(scanner.nextDouble())));
        }
    }
}
